/*
 * Created on 2006-3-16
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package  org.fantasy.common.util;

import org.dom4j.Attribute;
import org.dom4j.Document;
import org.dom4j.Element;

import java.util.Map;

/**
 * @author lrq
 *
 * TODO To change the template for this generated type comment go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
public class SQLBuilderFromXML extends AbstractSQLBuilder {	
	private Document xmlDoc;
	
	public SQLBuilderFromXML()throws SQLBuilderException{
		initBuilder();        
	}
	
	public SQLBuilderFromXML(String xmlStr, String encoding, Map map) throws SQLBuilderException{
        super(xmlStr, encoding, map);
    }
	
	protected void initBuilder()throws SQLBuilderException{
		// TODO Auto-generated method stub
		/*
		try{
			xmlDoc = XMLUtil.fromXML(source,encoding);
		}catch(XMLDocException e){
			throw new SQLBuilderException(e);
		}
		*/
	}


	/* (non-Javadoc)
	 * @see  org.fantasy.common.util.AbstractSQLBuilder#genSQL()
	 */
	public  String genSQL(Map paramMap,String source) throws SQLBuilderException {
		// TODO Auto-generated method stub
		////
		
		
		return null;
		
	}

}
